package com.crm.model.jdao;

import java.util.List;

import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;

import com.crm.model.pojo.Complaint;

/**
 * 客户投诉dao
 * @author 梁箐
 *
 */
public interface IComplainDAO extends CrudRepository<Complaint, Integer>{

	@Query("SELECT c FROM Complaint c")
	public List<Complaint> findAll();
}
